var t = getApp();

Page({
    data: {
        taskList: "",
        member_equity: []
    },
    onLoad: function(t) {
        this.getInitData();
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    getInitData: function() {
        var n = this, o = t.getNetAddresss("plugin.nominate.frontend.task.index");
        t._getNetWork({
            url: o,
            success: function(t) {
                var o = t.data;
                1 === o.result ? n.setData({
                    taskList: o.data,
                    member_equity: o.data.task
                }) : wx.showToast({
                    title: o.msg,
                    icon: "none"
                });
            },
            fail: function(t) {
                console.log(t);
            }
        });
    }
});